package yscmd

import "context"

type FlagInstallPathBuilder struct {
	FlagBuilderCore
}

func (b *FlagInstallPathBuilder) Init(ctx context.Context, group ...string) {
	b.FlagBuilderCore.Init(ctx, group...)
	b.F.Long = "path"
	b.F.Description = `
        指定安装目录`
	b.F.DefaultValue = ""
}

func FlagInstallPath(ctx context.Context, group ...string) *Flag {
	build := &FlagInstallPathBuilder{}
	build.Init(ctx, group...)
	return build.Flag()
}
